/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.commodity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.TenantEntity;

/**
 * 商品详细参数实体类
 *
 * @author Blade
 * @since 2021-02-28
 */
@Data
@TableName("pxx_commodity_params")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CommodityParams对象", description = "商品详细参数")
public class CommodityParams extends TenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long commodityId;
    /**
     * 图案
     */
    @ApiModelProperty(value = "图案")
    private String pattern;
    /**
     * 细分风格
     */
    @ApiModelProperty(value = "细分风格")
    private String subdivisionStyle;
    /**
     * 服饰工艺
     */
    @ApiModelProperty(value = "服饰工艺")
    private String technology;
    /**
     * 面料分类
     */
    @ApiModelProperty(value = "面料分类")
    private String fabrics;
    /**
     * 基础风格
     */
    @ApiModelProperty(value = "基础风格")
    private String basic;
    /**
     * 上市年份季节
     */
    @ApiModelProperty(value = "上市年份季节")
    private String season;
    /**
     * 厚薄
     */
    @ApiModelProperty(value = "厚薄")
    private String thickness;
    /**
     * 销售渠道类型
     */
    @ApiModelProperty(value = "销售渠道类型")
    private String channel;
    /**
     * 材质成分
     */
    @ApiModelProperty(value = "材质成分")
    private String material;
    /**
     * 适用场景
     */
    @ApiModelProperty(value = "适用场景")
    private String scene;
    /**
     * 适用对象
     */
    @ApiModelProperty(value = "适用对象")
    private String objects;


}
